package com.li.youhappygo.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

@Data
public class BaseEntity implements Serializable {
//    @Schema(description = "唯一标识符")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "逻辑删除标志，0表示未删除，1表示已删除")
    private Integer isDeleted;
}
